const request = require('../utils/request')

/**
 * 获取用户信息
 * @param data
 * @returns {Promise<unknown>}
 */
export const getUserInfo = () => request.get('/api/user')
